import Mock from 'mockjs'

Mock.mock('/getlist', 'get', {
    'list|10': [{
        'id|+1': 1,
        title:'@ctitle(15,20)',
        'price|1-100':1,
        'num|1-10':1,
        img:'@image(80x80,@color)'
    }]
})